﻿package plugin.simpleChat
{
    import com.core.*;

    public class SimpleChatControl extends Control
    {

        public function SimpleChatControl(param1:Object)
        {
            super(param1);
            return;
        }// end function

        override public function update(param1:Obproxy, param2:ProxyChange) : void
        {
            if (param1.getName() == "chat")
            {
                if (param2.property == "normalmsg")
                {
                    this.target.updateMsg(param2.newvalue);
                }
            }
            return;
        }// end function

    }
}
